//
// Created by francklinson on 2021/11/17 AT 12:16.
// May Saint Diana bless you!
//

#include <opencv2/opencv.hpp>
#include<iostream>

using namespace std;
using namespace cv;

int main()
{
    //读取图片（使用图片的绝对路径）
    Mat src = imread(R"(C:\Users\francklinson\CLionProjects\CppLeetCoding\conan\tu1.png)",IMREAD_COLOR);
    if (src.empty()) {
        printf("could not find the image!\n");
        return -1;
    }

    imshow("ImputImage", src);
    //不加此语句图片会一闪而过
    waitKey(500);
//    system("path");
    getchar();
    return 0;
}

